﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommonSense.UI.Shell.ViewModels;

namespace CommonSense.UI.Shell.Interfaces
{
    public interface IWorkspaceService
    {
        event EventHandler ActiveViewModelChanged;
        event EventHandler ActiveViewModelDirtyChanged;

        void OpenView<TViewModel>(TViewModel viewModel) where TViewModel : BaseViewModel;

        BaseViewModel ActiveViewModel
        {
            get;
        }
    }
}
